home *** CD-ROM | disk | FTP | other *** search
- /* hand customized autoconf.h for the atariST
- * sleezed by ++jrb bammi@cadence.com
- */
-
- /* autoconf.h. Generated automatically by configure. */
- /* autoconf.h.in. Generated automatically from configure.in by autoheader. */
-
- /* Define if using alloca.c. */
- /* #undef C_ALLOCA */
-
- /* Define to empty if the keyword does not work. */
- /* #undef const */
-
- /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
- This function is required for alloca.c support on those systems. */
- /* #undef CRAY_STACKSEG_END */
-
- /* Define if you have alloca.h and it should be used (not Ultrix). */
- #define HAVE_ALLOCA_H 1
-
- /* Define if your struct stat has st_blksize. */
- #define HAVE_ST_BLKSIZE 1
-
- /* Define if int is 16 bits instead of 32. */
- #ifdef __MSHORT__
- # define INT_16_BITS
- #endif
-
- /* Define if long int is 64 bits. */
- /* #undef LONG_64_BITS */
-
- /* Define to `long' if <sys/types.h> doesn't define. */
- /* #undef off_t */
-
- /* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown
- */
- /* #undef STACK_DIRECTION */
-
- /* Define if you have bcopy. */
- #define HAVE_BCOPY 1
-
- /* Define if you have flock. */
- #ifdef __MINT__
- #define HAVE_FLOCK 1
-
- /* Define if you have fsync. */
- #define HAVE_FSYNC 1
-
- /* Define if you have ftruncate. */
- #define HAVE_FTRUNCATE 1
-
- #else /* !__MINT__ but TOS */
-
- #define UNLOCK_FILE(dbf) (0)
- #define READLOCK_FILE(dbf) { lock_val = 0; }
- #define WRITELOCK_FILE(dbf) { lock_val = 0; }
-
- #define fsync(f) (0)
-
- /* atariST-TOS does not have a truncate call, how primitive.
- for this application, (truncate to zero length) the following
- should suffice
- */
- #define TRUNCATE(dbf) \
- { \
- (void)close(dbf->desc); \
- (void)remove(dbf->name); \
- dbf->desc = open (dbf->name, O_RDWR|O_CREAT, mode); \
- if(dbf->desc < 0) \
- { \
- free(dbf->name); \
- free(dbf); \
- gdbm_errno = GDBM_FILE_OPEN_ERROR; \
- return NULL; \
- } \
- }
-
- #endif /* __MINT__ */
-
- /* Define if you have rename. */
- #define HAVE_RENAME 1
-
- /* Define if you have the <fcntl.h> header file. */
- #define HAVE_FCNTL_H 1
-
- /* Define if you have the <stdlib.h> header file. */
- #define HAVE_STDLIB_H 1
-
- /* Define if you have the <string.h> header file. */
- #define HAVE_STRING_H 1
-
- /* Define if you have the <sys/file.h> header file. */
- #define HAVE_SYS_FILE_H 1
-
- /* Define if you have the <sys/types.h> header file. */
- #define HAVE_SYS_TYPES_H 1
-
- /* Define if you have the <unistd.h> header file. */
- #define HAVE_UNISTD_H 1
-
- /* Define if you have the c library (-lc). */
- #define HAVE_LIBC 1
-
- /* Define if you have the dbm library (-ldbm). */
- /* #define HAVE_LIBDBM 1 */
-
- /* Define if you have the ndbm library (-lndbm). */
- /* #undef HAVE_LIBNDBM */
-